function scope 예문
예문 더보기: 1 2 3
- Function scope is also applicable to anonymous functions.
- When JavaScript tries to "'resolve "'an identifier, it looks in the local function scope.
- Function scope is significantly more complicated if functions are first-class objects and can be created locally to a function and then returned.
- On a hunch that it had something to do with function scope, I created a second generation clone within the function, like so:
- Label names for GOTO statement have function scope, while case label names for switch statements have block scope ( the block of the switch ).